﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="interviewInfolist.aspx.cs" Inherits="BOH.Interview.interviewInfolist" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <link href="../style/css.css" type="text/css" rel="Stylesheet" />

    <script src="../js/jquery-1.3.2.js" type="text/javascript"></script>

    <script src="../js/common.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="divNavigation">
        当前位置:<a href="OverView.aspx" target="frameControl">信息审阅</a> >> 面试试题
    </div>
    <div id="bodyDiv">
        <div id="divSearch">
            <center>
                <table width="98%" class="Grid">
                    <tr>
                        <asp:Panel ID="panelSubject" runat="server">
                        <td align="right" style="width: 120px;">学科组信息:</td>
                        <td align="left"><asp:DropDownList ID="drpSubject" runat="server">
                        </asp:DropDownList></td></asp:Panel>
                        <td align="right" style="width:80px;">
                            姓名
                        </td>
                        <td align="left">
                            <asp:TextBox ID="txtApplyName" runat="server"  Width="100px"></asp:TextBox>
                        </td>
                        <td align="center">
                            <asp:Button ID="butSearch" runat="server" Text="查询" Width="120px" 
                                onclick="butSearch_Click" />
                        </td>
                    </tr>
                </table>
            </center>
        </div>
        <div id="divGrid">
            <span id="spanTotal" runat="server" visible="false">共有 <asp:Label ID="labTotalNo" runat="server"></asp:Label> 条记录</span>
            <asp:GridView ID="InterviewList" runat="server" AutoGenerateColumns="False" Width="1100"
           CssClass="Grid" AllowPaging="True" PageSize="15"  >
            <PagerSettings Mode="NumericFirstLast" />
            <Columns>
                <asp:TemplateField HeaderText="查看">
                    <ItemStyle Width="40px" />
                    <ItemTemplate>
                        <a href="showApplyerDetail.aspx?ApplyID=<%#Eval("ApplyID") %>" target="_blank">查看</a>
                    </ItemTemplate>
                 </asp:TemplateField>
                <asp:TemplateField HeaderText="评审编号">
                    <HeaderStyle HorizontalAlign="Left"/>
                    <ItemStyle Width="80px" VerticalAlign="Top" HorizontalAlign="Left" />
                    <ItemTemplate>
                        <asp:Label ID="labPrintNo" runat="server" Text='<%#Eval("ApplyPrintID") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="学科组">
                    <HeaderStyle HorizontalAlign="Left"/>
                    <ItemStyle Width="80px" VerticalAlign="Top" HorizontalAlign="Left" />
                    <ItemTemplate>
                        <asp:Label ID="labsubject" runat="server" Text='<%#Eval("SubjectName") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="单位名称">
                    <HeaderStyle HorizontalAlign="Left"/>
                    <ItemStyle Width="200px" VerticalAlign="Top" HorizontalAlign="Left" />
                    <ItemTemplate>
                        <asp:Label ID="labsubject" runat="server" Text='<%#Eval("UnitGovernName") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="姓名">
                    <HeaderStyle HorizontalAlign="Left"/>
                    <ItemStyle Width="50px" VerticalAlign="Top" HorizontalAlign="Left" />
                    <ItemTemplate>
                        <asp:Label ID="labApply_Name" runat="server" Text='<%#Eval("Apply_Name") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="性别">
                    <HeaderStyle HorizontalAlign="Left"/>
                    <ItemStyle Width="40px" VerticalAlign="Top" HorizontalAlign="Left" />
                    <ItemTemplate>
                        <asp:Label ID="labGender" runat="server" Text='<%#Eval("Gender") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="出生年月">
                    <HeaderStyle HorizontalAlign="Left"/>
                    <ItemStyle Width="80px" VerticalAlign="Top" HorizontalAlign="Left" />
                    <ItemTemplate>
                        <asp:Label ID="labbirthday" runat="server" Text='<%#ChangeDate(Eval("birthday").ToString()) %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="学历">
                    <HeaderStyle HorizontalAlign="Left"/>
                    <ItemStyle Width="40px" VerticalAlign="Top" HorizontalAlign="Left" />
                    <ItemTemplate>
                        <asp:Label ID="labeducationLevel" runat="server" Text='<%#Eval("educationLevel") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="现任职称">
                    <HeaderStyle HorizontalAlign="Left"/>
                    <ItemStyle Width="80px" VerticalAlign="Top" HorizontalAlign="Left" />
                    <ItemTemplate>
                        <asp:Label ID="labCurrentJobRankID" runat="server" Text='<%#Eval("CurrentJobRankName") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="取得时间">
                    <HeaderStyle HorizontalAlign="Left"/>
                    <ItemStyle Width="80px" VerticalAlign="Top" HorizontalAlign="Left" />
                    <ItemTemplate>
                        <asp:Label ID="labJobDate" runat="server" Text='<%#ChangeDate(Eval("JobDate").ToString()) %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="聘用时间">
                    <HeaderStyle HorizontalAlign="Left"/>
                    <ItemStyle Width="40px" VerticalAlign="Top" HorizontalAlign="Left" />
                    <ItemTemplate>
                        <asp:Label ID="labsJobTerm" runat="server" Text='<%#Eval("JobTerm") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="申报专业">
                    <HeaderStyle HorizontalAlign="Left"/>
                    <ItemStyle Width="150px" VerticalAlign="Top" HorizontalAlign="Left" />
                    <ItemTemplate>
                        <asp:Label ID="labSpeciality" runat="server" Text='<%#Eval("SpecialityName") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="申报职称">
                    <HeaderStyle HorizontalAlign="Left"/>
                    <ItemStyle Width="90px" VerticalAlign="Top" HorizontalAlign="Left" />
                    <ItemTemplate>
                        <asp:Label ID="labJobRank" runat="server" Text='<%#Eval("JobRankName") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                
              </Columns>
            </asp:GridView>
            <div id="divPager">
                <asp:Label ID="labNoRecord" Visible="false" runat="server" Text="查询结果为空!"></asp:Label><webdiyer:AspNetPager ID="AspNetPager1" runat="server" PageSize="15" AlwaysShow="True"
                    OnPageChanged="AspNetPager1_PageChanged" ShowCustomInfoSection="Left" CustomInfoSectionWidth="30%"
                    ShowPageIndexBox="always" PageIndexBoxType="DropDownList" CustomInfoHTML="第<font color='red'><b>%currentPageIndex%</b></font>页，共%PageCount%页，每页显示%PageSize%条记录">
                </webdiyer:AspNetPager>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
